package com.y.core.shiro;

import java.util.Map;

import org.apache.shiro.authc.UsernamePasswordToken;

public class StatelessToken extends UsernamePasswordToken {
	private static final long serialVersionUID = -4086663799031860179L;
	private String access_token;
	private Map<String, ?> params;

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public Map<String, ?> getParams() {
		return params;
	}

	public void setParams(Map<String, ?> params) {
		this.params = params;
	}

	public StatelessToken(String access_token, Map<String, ?> params) {
		super();
		this.access_token = access_token;
		this.params = params;
	}

	public StatelessToken() {
		super();
	}

}
